<!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
	<title>管理员密码修改</title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/admin/admincp.css" media="all" />
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/admin/common.css" media="all" />
	<script type="text/javascript">
	function checkform()
	{
		if(document.form1.oldpw.value == '')
		{
		alert("旧密码不能为空!");
		document.form1.oldpw.focus();
		return false;
		
		}
		if(document.form1.newpw.value == '')
		{
		alert("新密码不能为空!");
		document.form1.newpw.focus();
		return false;
		
		}
		if(document.form1.newpw.value != document.form1.newpw2.value)
		{
		alert("两次输入的密码不同!");
		document.form1.newpw2.focus();
		return false;
		
		}
		return true;
	
	}
	</script>
</head>
<body>
<div class="mask">
	<div id="cpcontainer" class="container">
		<div class="hastabmenu">
			<ul class="tabmenu">
				<li id="adduserbtn" class="tabcurrent"><a href="#">修改创始人密码</a></li>
			</ul>
			<div class="tabcontentcur" id="adduserdiv">
				<form method="post" action="<!--{:U('public/editAdminPwd')}-->" name="form1" onsubmit="return checkform();">
				
				<table width="100%">
					<tbody><tr>
						<td class="tbtitle">旧密码:</td>
						<td><input type="password" class="txt" name="oldpw"></td>
					</tr>
					<tr>
						<td class="tbtitle">新密码:</td>
						<td><input type="password" class="txt" name="newpw"></td>
					</tr>
					<tr>
						<td class="tbtitle">重复新密码:</td>
						<td><input type="password" class="txt" name="newpw2"></td>
					</tr>
					<tr>
						<td></td>
						<td>
							<input type="submit" class="btn" value="提 交" name="editpwsubmit">
						</td>
					</tr>
				</tbody></table>
				</form>
			</div>
		</div>
	
		
	</div>
</div>
</body>
</html>